ADP\BaseVersion\Includes\CartProcessor\FreeAutoAddItemsController S

Total Complexity 36
Dependencies 5
Dependents 1
Total lines 238
Lines of code 151
Logical lines of code 89
Comment lines 25
Methods 10
Properties 2

Methods 10

Method Rating Maintainability Complexity Lines of code
insertRemovedFreeCartItemStubInCart()
A
49 7 32
insertRemovedFreeMiniCartItemStubInCart()
A
49 7 32
handleFreeCartItemUpdate()
S
52 6 23
handleFreeCartItemRemove()
S
56 5 17
handleRestoreDeletedItems()
S
56 4 19
withCart()
S
74 2 5
onCreateOrder()
S
67 2 8
__construct()
S
76 1 4
withContext()
S
81 1 3
installHooks()
S
65 1 8